package com.sslpay.merchant.service;

import com.sslpay.common.domain.BusinessException;

/**
 * 描述：
 *
 * @author ssl
 * @create 2020/04/21 15:05
 */
public interface SmsService {

    /**
     * 发送手机验证码
     *
     * @param phone
     * @return
     */
    String sendMsg(String phone) throws BusinessException;

    /**
     * 校验验证码
     *
     * @param verifiyKey
     * @param verifiyCode
     */
    void checkVerifiyCode(String verifiyKey, String verifiyCode) throws BusinessException;
}
